From: Eli Zaretskii Date: Sat, 31 May 2025 08:12:58 +0000 (+0300) Subject: ; * lisp/subr.el (setq-local): Doc fix (bug#78644). X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~62 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22Program/%22http:/www.example.com/cgi/%22https:/%22Program?a=commitdiff_plain;h=9dc6c21b4148222f404fe5af4dc6a24613a58d7c;p=emacs.git ; * lisp/subr.el (setq-local): Doc fix (bug#78644). --- diff --git a/lisp/subr.el b/lisp/subr.el index 99981848db4..50ebc598e80 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -161,11 +161,12 @@ of previous VARs. `(progn . ,(nreverse exps)))) (defmacro setq-local (&rest pairs) - "Make each VARIABLE buffer-local and assign to it the corresponding VALUE. + "Make each VARIABLE local to current buffer and set it to corresponding VALUE. The arguments are variable/value pairs. For each VARIABLE in a pair, -make VARIABLE buffer-local and assign to it the corresponding VALUE -of the pair. The VARIABLEs are literal symbols and should not be quoted. +make VARIABLE buffer-local in the current buffer and assign to it the +corresponding VALUE of the pair. The VARIABLEs are literal symbols +and should not be quoted. The VALUE of the Nth pair is not computed until after the VARIABLE of the (N-1)th pair is set; thus, each VALUE can use the new VALUEs